{% extends "light.twig" %}

{% block title %}: {{ vocab_id|upper }}: {% trans "Group index" %}{% endblock %}
{% block headernav %}
<ul class="nav nav-tabs">
  <li><a id="hier-trigger" href="#">{% trans "Hier-nav" %}</a></li>
  <li><a href="{{ path_fix }}{{ vocab_id }}/{{ lang }}/index">{% trans "Alpha-nav" %}</a></li>
  {% if vocab.hasGlobalCollections %}
  <li class="active"><a href="{{ path_fix }}{{ vocab_id }}/{{ lang }}/collections">{% trans "Group-nav" %}</a></li>
  {% else %}
  {% endif %}
</ul>
{% endblock %}
{% block sidebar %}
  {% include 'hierarchy-bar.twig' %}
  
  <div class="container" id="collection-listing-container">
  <h4>{% trans "Collections" %}</h4>

  <ul class="list-group">
    {% for uri, label in collections %}
    <li><a href="{{ uri | link_url(vocab,lang,'collections') }}">{{ label }}</a></li>
    {% endfor %}
  </ul>
</div>

{% endblock %}
{% block content %}
{% endblock %}
